package com.sl.au.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.sl.au.entity.BussinessContent;
import com.sl.au.entity.BussinessLevel;


public interface BussinessContentRepository extends JpaRepository<BussinessContent, String> {
	
	@Query("select bc from BussinessContent bc where bc.bussinessLevel.id = ?1 ")
	BussinessContent findBussinessContentByBussinessLevel(String id);
}
